package com.example.myweb.Service.Auth;

import com.example.myweb.Dto.FeedItemDTO;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface FeedService {
    // 获取公共信息流
    Page<FeedItemDTO> getPublicFeed(Pageable pageable);

    // 获取指定用户的信息流
    Page<FeedItemDTO> getUserFeed(Long authorId, Pageable pageable);
    Page<FeedItemDTO> getFollowingFeed(List<Long> authorIds, Pageable pageable);
}
